Learn R Programming

TrenchR (version 1.1.1)

temperature conversions: Convert Among Temperature Scales

Description

The function converts temperatures among Celsius, Fahrenheit, and Kelvin BlischakTrenchR.

Usage

fahrenheit_to_kelvin(temperature)

kelvin_to_celsius(temperature)

celsius_to_kelvin(temperature)

fahrenheit_to_celsius(temperature)

Value

numeric temperature (Celsius, Fahrenheit, or Kelvin).

Arguments

temperature

numeric temperature (Celsius, Fahrenheit, or Kelvin).

References

See Also

Other utility functions: airpressure_from_elev(), azimuth_angle(), day_of_year(), daylength(), dec_angle(), solar_noon(), zenith_angle()

Examples

Run this code
  kelvin_to_celsius(temperature = 270)
  fahrenheit_to_kelvin(temperature = 85)
  fahrenheit_to_celsius(temperature = 85)
  celsius_to_kelvin(temperature = -10)

Run the code above in your browser using DataLab